package com.two.service.restaurant.service;


import com.two.common.util.CommonResult;
import com.two.common.vo.RestaurantVo;

public interface RestaurantService{
    CommonResult selectAllByCondition(Integer currentPage, Integer pageSize, RestaurantVo restaurantVo);

    Integer addRestaurant(RestaurantVo restaurantVo);

    CommonResult updateRestaurant(RestaurantVo restaurantVo);

    CommonResult deleteRestaurant(RestaurantVo restaurantVo);

    CommonResult selectAll();

    CommonResult selectByRid(Integer rid);

    CommonResult selectAllByRestaurantName(String restaurantName);
}
